Implementation of the SfNumericEntry and SfNumericUpDown Control in MAUI Toolkit #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
A
NumericEntrycontrol that allows users to input only numeric values, supporting various formats such as integers, decimals, percentages, and currency. It offers customizable features like input validation, format masks, and display customization, ensuring that data entry is efficient, accurate, and tailored to specific application needs. This control is essential for maintaining numeric-only input with precise formatting and validation rules.A
NumericUpDowncontrol additionally allows users to input and adjust numeric values using increment and decrement buttons or keyboard interaction.Key Features
Numeric Input Restriction
Ensures that only numeric values are entered, preventing invalid characters and reducing input errors.
Customizable Input Masks
Supports different display formats such as currency symbols, percentage signs, and custom units for enhanced readability.
Input Validation
Includes built-in validation rules such as min/max value enforcement, and configurable error messages to guide user input.
Formatting Options
Supports localization and custom number formatting, adapting to various cultural settings for currency, decimal, and thousand separators.
Placeholder and Prefix/Suffix
Offers placeholder text when the input is empty, as well as optional prefixes and suffixes (e.g., currency signs) for contextual display.
Increment and Decrement Buttons
Provides built-in buttons for users to easily increase or decrease the numeric value.
Issues Fixed
Fixes #28 , #29
Output screenshots
NumericEntryDemo.Windows.mp4
NumericEntry-Android-Demo.mp4